package com.aji.alluser.service.impl;

import com.aji.alluser.domain.RoleUser;
import com.aji.alluser.mapper.RoleUserMapper;
import com.aji.alluser.service.RoleUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 82527
* @description 针对表【role_user(角色用户表)】的数据库操作Service实现
* @createDate 2024-04-15 10:53:58
*/
@Service
@RequiredArgsConstructor
public class RoleUserServiceImpl extends ServiceImpl<RoleUserMapper, RoleUser> implements RoleUserService {

    private final RoleUserMapper roleUserMapper;

    @Override
    public List<Integer> getRoleById(Long id) {
        return roleUserMapper.getRoleById(id);
    }
}




